.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  background-color: var(--card-bg);
  border: 2px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle-btn:hover {
  transform: scale(1.1);
  background-color: var(--primary-color);
  color: white;
}

.theme-toggle-btn:active {
  transform: scale(0.95);
}

.toggle-wrapper {
  width: 24px;
  height: 24px;
  position: relative;
}

.toggle-circle {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-circle-dark {
  transform: rotate(360deg);
}

.toggle-circle svg {
  width: 20px;
  height: 20px;
}

/* 触摸设备优化 */
@media (hover: none) {
  .theme-toggle-btn {
    width: 56px;
    height: 56px;
  }
  
  .toggle-wrapper {
    width: 28px;
    height: 28px;
  }
} 